#pragma once

#include <BWAPI.h>

class Line{
public:
	BWAPI::Position m_center;
	double m_direction;
	int m_length;
	Line();
	Line(const BWAPI::Position center, const double direction, const int length) { set(center, direction, length); }
	void set(
		const BWAPI::Position center,
		const double direction,
		const int length
	);
	void draw(
		const BWAPI::Color &col
	) const;
	Line createParallelLine(
		const int distance
	) const;
	void Line::endPoints(
		BWAPI::Position &p1,
		BWAPI::Position &p2
	) const;
};
